<include file="../Public/inleft" />
<div id="main"> <include file="../Public/main_nav" />
  <div id="main_content">
    <form id="phpform" method="post" action="__URL__/update" style="float:left; margin-left:100px; display:inline;">
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
              <input type = "hidden" value="{.id}" name="id" />
              <tr>
                <td width="120">登录名：</td>
                <td><input name="loginname" type="text" style="width:260px;" id="loginname" value="{$vo.loginname}"  /></td>
              </tr>
              <tr>
                <td>密码：</td>
                <td><input name="password" type="text" style="width:260px;" id="password" value="{$vo.password}"  /></td>
              </tr>
              <tr>
                <td>姓名：</td>
                <td><input name="bname" type="text" style="width:260px;" id="bname" value="{$vo.bname}"  /></td>
              </tr>
              <tr>
                <td>家长姓名：</td>
                <td><input name="fatherName" type="text" style="width:260px;" id="fatherName" value="{$vo.fatherName}"  /></td>
              </tr>
              <tr>
                <td>家长联系电话：</td>
                <td><input name="tel1" type="text" style="width:260px;" id="tel1" value="{$vo.tel1}"  /></td>
              </tr>
              <tr>
                <td>固定电话：</td>
                <td><input name="tel2" type="text" style="width:260px;" id="tel2" value="{$vo.tel2}"  /></td>
              </tr>
              <tr>
                <td>手机：</td>
                <td><input name="tel3" type="text" style="width:260px;" id="tel3" value="{$vo.tel3}"  /></td>
              </tr>
              <tr>
                <td>性别：</td>
                <td><input type="radio" name="bsex" id="bsex1" value="1" />
                  <label for="sex1">男</label>
                  <input type="radio" name="bsex" id="bsex2" value="2" />
                  <label for="sex2"> 女</label></td>
              </tr>
              <tr>
                <td>年龄：</td>
                <td><input name="bage" type="text" style="width:260px;" id="bage" value="{$vo.bage}"  /></td>
              </tr>
              <!--			  <tr>
                <td>baddress：</td>
                <td><input name="baddress" type="text" style="width:260px;" id="baddress" value="{$vo.baddress}"  /></td>
              </tr>
		  <tr>
                <td>tel：</td>
                <td><input name="tel" type="text" style="width:260px;" id="tel" value="{$vo.tel}"  /></td>
              </tr>-->
              <tr>
                <td>幼儿园名称：</td>
                <td><input name="kname" type="text" style="width:260px;" id="kname" value="{$vo.kname}"  /></td>
              </tr>
              <tr>
                <td>幼儿园地址：</td>
                <td><input name="kaddress" type="text" style="width:260px;" id="kaddress" value="{$vo.kaddress}"  /></td>
              </tr>
              <tr>
                <td>幼儿园班级：</td>
                <td><input name="kclass" type="text" style="width:260px;" id="kclass" value="{$vo.kclass}"  /></td>
              </tr>
              <tr>
                <td>备注：</td>
                <td><textarea name="note" rows="4" id="note" style="width:260px;">{$vo.note}</textarea></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交" class="submit" />
                  <input name="reset" type="reset" value="重置" class="submit" />
                  <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
              </tr>
            </table>
          </form>
  </div>
</div>
</div>
<include file="../Public/right" /> 

<include file="../Public/footer" />

<script type="text/javascript">
	
$(document).ready(function(){
//    alert("请以真实信息注册，奖品回馈以注册信息为准！");
	$.formValidator.initConfig({validatorgroup:"2",autotip:true,onerror:function(msg){alert(msg)}});
	$('#bsex{$vo.bsex}').attr('checked','checked');
//	$("#pname").formValidator({onshow:"请输入患者姓名",onfocus:"患者姓名必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:2, max:20,onerror:"你输入的患者姓名长度不正确,请确认"});
//	$("#loginname2").formValidator({validatorgroup:"2",onshow:"请输入登陆名",onfocus:"登陆名必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入登陆名长度不正确,请确认"});
//	$("#password2").formValidator({validatorgroup:"2",onshow:"请输入密码",onfocus:"密码必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的密码长度不正确,请确认"});
//	$("#password22").formValidator({validatorgroup:"2",onshow:"请输入重复密码",onfocus:"重复密码必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的重复密码长度不正确,请确认"});
//	$("#bname").formValidator({validatorgroup:"2",onshow:"请输入姓名",onfocus:"姓名必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的姓名长度不正确,请确认"});
////	$("input:radio[name='bsex']").formValidator({relativeid:"bsex1",onshow:"请选择报卡类别",onfocus:"报卡类别必须选择",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你的报卡类别选择不正确,请确认"});
//	$("input:radio[name='bsex']").formValidator({validatorgroup:"2",relativeid:"bsex1",tipid:"bsexTip",tipcss:{"left":"60px"},onshow:"请选择性别",onfocus:"性别必须选择",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你的性别选择不正确,请确认"});
//	$("#bage").formValidator({validatorgroup:"2",onshow:"请输入年龄",onfocus:"年龄必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的年龄长度不正确,请确认"});
//	$("#baddress").formValidator({validatorgroup:"2",onshow:"请输入住址",onfocus:"住址必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:60,onerror:"你输入的住址长度不正确,请确认"});
//	$("#fatherName").formValidator({validatorgroup:"2",onshow:"请输入家长姓名",onfocus:"家长姓名必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的家长姓名长度不正确,请确认"});
//	$("#tel1").formValidator({validatorgroup:"2",onshow:"请输入家长联系电话",onfocus:"家长联系电话必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的家长联系电话长度不正确,请确认"});
//	$("#tel2").formValidator({validatorgroup:"2",onshow:"请输入固定电话",onfocus:"固定电话必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的固定电话长度不正确,请确认"});
//	//$("#tel3").formValidator({validatorgroup:"2",onshow:"请输入手机联系电话",onfocus:"手机必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入手机长度不正确,请确认"});
//	$("#kname").formValidator({validatorgroup:"2",onshow:"请输入幼儿园名称",onfocus:"幼儿园名称必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的幼儿园名称长度不正确,请确认"});
//	$("#kclass").formValidator({validatorgroup:"2",onshow:"请输入幼儿园班级",onfocus:"幼儿园班级必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入的幼儿园班级长度不正确,请确认"});
//	//$("#kaddress").formValidator({validatorgroup:"2",onshow:"请输入幼儿园地址",onfocus:"幼儿园地址必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1, max:20,onerror:"你输入幼儿园地址长度不正确,请确认"});
////	$("#note").formValidator({onshow:"请输入登陆名",onfocus:"登陆名必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:2, max:20,onerror:"你输入登陆名长度不正确,请确认"});
});	
</script>


